@extends('layouts.header')
@section('title','订单管理')
@section('content')
    <div class="orderManagement">
        <div class="select">
            <div>付款记录</div>
        </div>
        <div class="listArea">
            <!-- 全部 -->
            <div class="list">
                @foreach($orders as $order)
                    <div class="item">
                        <div class="orderNumbering"><span>订单编号：</span><span>{{$order->order_no}}</span></div>
                        <div class="orderI"><span>设备号：</span><span>{{$order->grip->grip_name or '' }}</span></div>
                        <div class="orderI"><span>下单时间：</span><span>{{$order->created_at}}</span></div>
                        <div class="orderI"><span>购买套餐：</span><span></span>
                            {{$order->package->money or '' }}元/{{ $order->package->time or ''}}天
                        </div>
                        {{-- <div class="orderI"><span>设备到期时间：</span><span>{{$order->expired_at}}</span></div>--}}
                        <div class="orderI"><span>订单状态：</span><span class="payment">{{$order->humanStatus}}</span></div>
                        <!-- 已付款 payment 退款 refund -->
                    </div>
                @endforeach
            </div>
        </div>
    </div>
@endsection
@push('js')
@endpush
